package Hxw3DEngine.core.Resource 
{
	/**
	 * ...
	 * @author ...
	 */
	public class ResourceSingle extends ResourceBase 
	{
		private var _atom:IResourceAtom;
		
		public function ResourceSingle(path:String) 
		{
			super(path);
			
		}
		override public function get numOfAtom():uint 
		{
			return 1;
		}
		override public function getAtom(index:uint = 0):IResourceAtom 
		{
			if (index < 1) {
				return _atom;
			}
			return null;
		}
	}

}